package com.smxy.daydayup.pojo.ao;

import com.smxy.daydayup.pojo.QuestionSort;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @team daydayup
 * @time 2021-12-13 21:51
 */

@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Component
@ApiModel("前端问题信息实体类")
public class QuestionAo {

    @ApiModelProperty("问题id")
    private Long questionId;

    @ApiModelProperty("问题分类id")
    private Long questionSortId;

    @ApiModelProperty("问题题目")
    private String questionTitle;

    @ApiModelProperty("问题选项(简答题,填空题就传空)")
    private List<String> questionOption;

    @ApiModelProperty("问题答案(所有题型都需要传数组)")
    private List<String> questionAnswer;

    @ApiModelProperty("题目解析")
    private String questionResolve;

    @ApiModelProperty("题目难易程度")
    private Integer questionHardLevel;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("用户名(创建人的名字)")
    private String userName;

    @ApiModelProperty("逻辑删除标识")
    private Integer isDelete;

    @ApiModelProperty("题目分类对象")
    private QuestionSort questionSort;
}
